<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<!-- IE8及IE9以后的版本都已IE最高的版本渲染页面 -->
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<!-- 禁止页面缩放 -->
	<title>生产管理系统</title>
	<!-- <link rel="shortcut icon" href="https://gtms04.alicdn.com/tps/i4/TB1_oz6GVXXXXaFXpXXJDFnIXXX-64-64.ico" type="image/x-icon"/>
    <link rel="stylesheet" href="https://g.alicdn.com/thx/cube/1.3.2/cube.min.css">
    <link rel="stylesheet" href="/stylesheets/demo.css"> -->
    <link rel="stylesheet" href="/stylesheets/iconfont.css">
	<link rel="shortcut icon" href="/images/favicon.ico">
	<!-- font-awesome 图标 -->
	<link rel="stylesheet" type="text/css" href="/stylesheets/font-awesome/css/font-awesome.min.css">
	<!-- font-awesome 图标 -->
	<!-- jquery-confirm css -->
	<link rel="stylesheet" type="text/css" href="/stylesheets/jquery-confirm.css">
	<!-- jquery-confirm css -->
	<!-- toastr css -->
	<link rel="stylesheet" type="text/css" href="/stylesheets/toastr.min.css">
	<!-- toastr css -->
	<!-- bootstrap - css -->
	<link rel="stylesheet" type="text/css" href="/stylesheets/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="/stylesheets/zTreeStyle.css">
	<link rel="stylesheet" type="text/css" href="/stylesheets/titatoggle-dist.css">
	<link rel="stylesheet" type="text/css" href="/stylesheets/build.css">
	<link rel="stylesheet" type="text/css" href="/stylesheets/bootstrap-select.min.css">
	<link rel="stylesheet" type="text/css" href="/stylesheets/bootstrap-table.min.css">
	<link rel="stylesheet" type="text/css" href="/stylesheets/bootstrapValidator.min.css">	
	<link rel="stylesheet" type="text/css" href="/stylesheets/daterangepicker.css">
	<!-- bootstrap - css -->
	<link rel="stylesheet" type="text/css" href="/stylesheets/style.css">	
	<!-- <link rel="stylesheet" type="text/css" href="/stylesheets/jsgrid-theme.min.css">	
	<link rel="stylesheet" type="text/css" href="/stylesheets/jsgrid.min.css">	 -->
	
	
	<script type="text/javascript" src="/javascripts/jquery-3.3.1.min.js"></script>
	<script type="text/javascript" src="/javascripts/jquery.ztree.core.min.js"></script>
	<script type="text/javascript" src="/javascripts/jquery.ztree.excheck.min.js"></script>
</head>
<body>
	<div class="container-fluid" style="position: absolute;height: 100%">
		<div class="row" style="height: 100%;color: #FFFFFF">
			<!-- 左侧菜单栏 -->
			<div class="sidebar">
				<div class="logo"><a href="/main">生产管理系统</a></div>
      			<nav class="navbar p0">
				  <ul class="navbar-nav flex nav-first-level">
				   
				  </ul>
				</nav>
		    </div>
		    <div class="main-content container-fluid">
		    	<!-- 导航栏 -->
		    	<nav class="navbar navbar-expand-sm bg-light headNavbar border-bottom-shadow">
				    <a class="navbar-brand toggle-sidebar" toggleSidebar="stretch" screenWidth="maxw"><i class="fa fa-indent" aria-hidden="true"></i></a>
				     <a class="backHome" title="首页" onclick="breakToMain()"><i class="fa fa-home fa-lg"></i></a>
				    
				    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
				    <span class="navbar-toggler-icon"></span>
				    </button>
				    <div class="collapse navbar-collapse justify-content-end" id="collapsibleNavbar">
					    <ul class="navbar-nav">
					     <!--  <li class="nav-item">
					        <a class="nav-link" href="#">链接</a>

					      </li>
					      <li class="nav-item">
					        <a class="nav-link" href="#">链接</a>
					      </li> -->
					     <li class="nav-item dropdown">
				        <a class="nav-link dropdown-toggle portrait"  id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
				          <img src="/images/head-portrait.png" alt="">
				        </a>
				       <!--  <li>
                            <a class="pl-8">{{uname}}</a>
                        </li> -->
                       <!--  <li class="divider"></li>
                        <li><a data-toggle="dialog" data-options="{id:'changePassword', url:'/nbsysmanage/changePasswordPage', title:'修改密码',mask:true,height:560,maxable:false}"><i class="fa fa-gear"></i><span class="pl-8">修改密码</span></a></li>
                        <li class="divider"></li>
                        <li><a href="/account/loginOut"><i class="fa fa-sign-out"></i><span class="pl-8">退出</span></a></li> -->
				        <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownMenuLink">
				          <div class="dropdown-item uname" >{{uname}}</div>
				          <!-- <a class="dropdown-item" href="/nbsysmanage/changePasswordPage">修改密码</a> -->
						  <!-- <a class="dropdown-item" href="/logout">退出</a> -->
						  <a class="dropdown-item" onclick="set_pwd()">修改密码</a>
				          <a class="dropdown-item quit"  href="/account/loginOut">退出</a>
				        </div>
				      </li>  
							</ul>
					</div>  
				</nav>
				<nav aria-label="breadcrumb" class="crumbs">
					 <ol class="breadcrumb" style="display: none;"></ol>
				</nav>
			<!-- 主要内容 --> 
		      	<div class="content-container " >
		      		
		      	</div>
		    </div>
		</div>
	</div>
	<script type="text/javascript" src="/javascripts/iconfont.js"></script>
	<script type="text/javascript" src="/javascripts/jquery-ui.min.js"></script>
	<script type="text/javascript" src="/javascripts/echarts.min.js"></script>
	<!-- toastr js -->
	<script type="text/javascript" src="/javascripts/toastr.min.js"></script>
	<!-- toastr js -->
	<!-- jquery-confirm js -->
	<script type="text/javascript" src="/javascripts/jquery-confirm.js"></script>
	<!-- jquery-confirm js -->
	<script type="text/javascript" src="/javascripts/popper.min.js"></script>
	<script type="text/javascript" src="/javascripts/bootstrap.min.js"></script>
	<!-- bootstrap-select js -->
	<script type="text/javascript" src="/javascripts/bootstrap-select.min.js"></script>
	<!-- bootstrap-select js -->
	<!-- bootstrapValidator js -->
	<script type="text/javascript" src="/javascripts/bootstrapValidator.min.js"></script>
	<script type="text/javascript" src="/javascripts/zh_CN.js"></script>
	<!-- bootstrapValidator -->
	<!-- bootstrap-table js-->
	<script type="text/javascript" src="/javascripts/bootstrap-table.min.js"></script>
	<script type="text/javascript" src="/javascripts/bootstrap-table-zh-CN.js"></script>
	<!-- bootstrap-table -->
	<script type="text/javascript" src="/javascripts/moment.min.js"></script>
	<script type="text/javascript" src="/javascripts/daterangepicker.js"></script>
	<script type="text/javascript" src="/javascripts/bootstrap-table-reorder-rows.js"></script>
    <script type="text/javascript" src="/javascripts/jquery.tablednd.js"></script>
	<script type="text/javascript" src="/javascripts/public.js"></script>
	<!-- <script type="text/javascript" src="/javascripts/db.js"></script> -->
	<!-- bootstrap - js -->
	<!--文件上传表单 -->
    <script type="text/javascript" src="/javascripts/jquery.form.js"></script>
	<!--文件上传表单 -->
	<!-- 带搜索过滤的表格处理-->
    <!-- <script type="text/javascript" src="/javascripts/jsgrid.min.js"></script> -->
	<!-- 带搜索过滤的表格处理-->
	
    <!-- jQuery -->
    <!-- <script src="https://a1.alicdn.com/oss/uploads/2018/12/26/7bfddb60-08e8-11e9-9b04-53e73bb6408b.js"></script> -->
	<script type="text/javascript">
		var orderBool = false; 
		$(window).resize(function() {
		    	$.sidenav_width();
		});
		
		$(".quit").on("click",function(event){
		    event.preventDefault();//使a自带的方法失效，即无法调整到href中的URL(http://www.baidu.com)
		    $.ajax({
		           type: "post",
		           url: "/logout",
		           // contentType:"application/json",
		           // data: JSON.stringify({param1:param1,param2:param2}),//参数列表
		           dataType:"json",
		           success: function(result){
		            if(result.statusCode==200){
                         location.href="/login";
		            }
		           },
		           error: function(result){
		              //请求失败之后的操作
		           }
		    });
			});

		function breakToMain(){
        $('.content-container').ajaxUrl({'url':'/main'});
	  }
	  function set_pwd(){
		Ewin.dialog({
			id:'changePassword',
			url:'/changePassworPage',
			title:'修改密码',
			width:600,
			height:500
		})
	  }
	</script>
</body>
</html>